package com.gec.domain;

/**
 * @author Aniki
 * @date 2021-12-23
 */
public class Dept {

	private String id;
	private String parentId;
	private String pids;
	private String deptName;
	private String deptDesc;
	//是否有下一级
	private String hasSub;
	private String level;

	private String parentName;

	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getLevel(){
		return this.level;
	}
	public void setLevel(String level) {
		this.level = level;
	}

	//{1}缺少无参构造器：
	public Dept(){}
	public Dept(String id, String deptName) {
		this.id = id;
		this.deptName = deptName;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getPids() {
		return pids;
	}
	public void setPids(String pids) {
		this.pids = pids;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public String getDeptDesc() {
		return deptDesc;
	}
	public void setDeptDesc(String deptDesc) {
		this.deptDesc = deptDesc;
	}
	public String getHasSub() {
		return hasSub;
	}
	public void setHasSub(String hasSub) {
		this.hasSub = hasSub;
	}

	@Override
	public String toString() {
		return "Dept [id=" + id + ", parentId=" + parentId + ", pids=" + pids + ", deptName=" + deptName + ", deptDesc="
				+ deptDesc + ", parentName=" + parentName + "]";
	}

}
